import java.util.ArrayList;
public class Course {
	String course;
	String title;
	String preReq;
	String notes;
	ArrayList<String> locations=new ArrayList<String>();
	ArrayList<String> professors = new ArrayList<String>();
	ArrayList<String> sections=new ArrayList<String>();
	ArrayList<String> times=new ArrayList<String>();
  	
	public Course(String name)
	{
		course=name;
	}
	
	public void setTitle(String title){
		this.title=title;				
	}
	public void setPreReq(String preReq){
		this.preReq=preReq;
	}
	public void addSection(String section){
		sections.add(section);
	}
	public void addProfessor(String prof){
		professors.add(prof);
	}
	public void addLocation(String loc){
		locations.add(loc);
	}
	public void addTime(String tm){
		times.add(tm);
	}
	public String getAbrev(){
		return course;
	}
	public String getTitle(){
		return title;
	}
	public ArrayList<String> getSections(){
		return sections;
	}
	public ArrayList<String> getProfessors(){
		return professors;
	}
	public ArrayList<String> getLocations(){
		return locations;
	}
	public ArrayList<String> getTimes(){
		return times;
	}
}